package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收藏对象 collection
 * 
 * @author 张颖
 * @date 2025-01-08
 */
@Data
@TableName("collection")
public class G_Collection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收藏编号 */
    private Long collectionId;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private Long userId;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private Long goodsId;

    /** 是否删除 */
    private Integer isDelete;

    public void setCollectionId(Long collectionId) 
    {
        this.collectionId = collectionId;
    }

    public Long getCollectionId() 
    {
        return collectionId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }

    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

}
